package com.zz.parkingsystem.service;

import com.zz.parkingsystem.entity.Checkon;
import com.zz.parkingsystem.entity.Inspector;

/**
 * @Auther: BAISIHANG
 * @Date: 2022/8/30 - 08 - 30 - 14:20
 * @Description: com.zz.parkingsystem.service
 * @version: 1.0
 */
public interface InspectorService {

    //根据电话查巡检员
    Inspector getselectByPrimaryTel(String ins_tel);
    //根据电话和密码登录
    Inspector getselectByPrimaryByTel(String insTel, String insPassword);
    //根据电话查密码
    Inspector getselectByPrimaryByTel(String insTel);
    //新增巡检员
    int add(Inspector inspector);
    //巡检员总数量
    int getselAllsum();

    boolean login(String insTel, String insPassword);
}
